package entities;

import java.io.Serializable;
import java.util.Date;

import basic.BaseEntity;
import basic.FieldMeta;

public class TCsm  extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@FieldMeta(primary = true, name = "编号", description = "编号", column = "csm_no", require = true, range = true, length = 32, order = 0)
	private String csmNo;

	public String getCsmNo() {
		return csmNo;
	}

	public void setCsmNo(String csmNo) {
		this.csmNo = csmNo;
	}
	
	@FieldMeta(name = "标识", description = "关联标识", column = "csm_sign", require = true, length = 32, order = 1)
	private String csmSign;

	public String getCsmSign() {
		return csmSign;
	}

	public void setCsmSign(String csmSign) {
		this.csmSign = csmSign;
	}

	@FieldMeta(name = "引用", description = "引用", column = "csm_ref", require = true, length = 32, order = 2)
	private String csmRef;

	public String getCsmRef() {
		return csmRef;
	}

	public void setCsmRef(String csmRef) {
		this.csmRef = csmRef;
	}
	
	@FieldMeta(name = "关联交易", description = "关联交易", column = "csm_txn", require = true, length = 32, order = 2)
	private String csmTxn;

	public String getCsmTxn() {
		return csmTxn;
	}

	public void setCsmTxn(String csmTxn) {
		this.csmTxn = csmTxn;
	}

	@FieldMeta(name = "类型", description = "类型", column = "csm_type", require = true, length = 50, order = 3)
	private String csmType;

	public String getCsmType() {
		return csmType;
	}

	public void setCsmType(String csmType) {
		this.csmType = csmType;
	}

	@FieldMeta(name = "金额", description = "金额", column = "csm_amount", require = true, order = 4)
	private Double csmAmount;

	public Double getCsmAmount() {
		return csmAmount;
	}

	public void setCsmAmount(Double csmAmount) {
		this.csmAmount = csmAmount;
	}

	@FieldMeta(name = "状态", description = "状态", column = "csm_state", require = true, length = 1, order = 5)
	private String csmState;

	public String getCsmState() {
		return csmState;
	}

	public void setCsmState(String csmState) {
		this.csmState = csmState;
	}

	@FieldMeta(name = "日期", description = "日期", column = "csm_date", require = true, range = true, order = 6)
	private Date csmDate;

	public Date getCsmDate() {
		return csmDate;
	}

	public void setCsmDate(Date csmDate) {
		this.csmDate = csmDate;
	}

	@FieldMeta(name = "备注", description = "备注", column = "csm_remark", length = 200, order = 7)
	private String csmRemark;

	public String getCsmRemark() {
		return csmRemark;
	}

	public void setCsmRemark(String csmRemark) {
		this.csmRemark = csmRemark;
	}

}
